package org.spark.api.util.model;

import java.lang.reflect.Field;

/**
 * @author chenwy
 */
public class HBaseColumnMapping {


    private byte[] family;

    private byte[] qualifier;
    /**
     * 值的类型
     */
    private Class valueClass;

    /**
     * 是否使用MsgPack
     */
    private boolean useMsgPack;

    private Field field;

    public byte[] getFamily() {
        return family;
    }

    public void setFamily(byte[] family) {
        this.family = family;
    }

    public byte[] getQualifier() {
        return qualifier;
    }

    public void setQualifier(byte[] qualifier) {
        this.qualifier = qualifier;
    }

    public Class getValueClass() {
        return valueClass;
    }

    public void setValueClass(Class valueClass) {
        this.valueClass = valueClass;
    }

    public boolean isUseMsgPack() {
        return useMsgPack;
    }

    public void setUseMsgPack(boolean useMsgPack) {
        this.useMsgPack = useMsgPack;
    }

    public Field getField() {
        return field;
    }

    public void setField(Field field) {
        this.field = field;
    }
}
